package com.example.kotlintest.extends.extendTest

abstract class Animal (var name:String){

     var age: Int = 0

    constructor(name:String, age : Int):this(name){
        this.name=name
        this.age=age
    }
    abstract fun eat()

}